﻿using ETA.Entity;
using ETA.DomainEnum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ETA.Entity
{
    /// <summary>
    /// 扩展
    /// </summary>
    public partial class User
    {

        public virtual EducationLevelEnum EducationLevelEnum { get; set; }
        public virtual SexEnum SexEnum { get; set; }

        public virtual IList<Roler> Rolers { get; set; }

        public User()
        {
            Rolers = new List<Roler>();
        }

        public virtual void AddRoler(Roler roler)
        {
            Rolers.Add(roler);
        }

        /// <summary>
        /// 通常一个人至会有一个流程 ，此处才用1对多 方便映射
        /// </summary>
        public virtual IList<RegistrationMainForm> RegistrationMainForms { get; set; }

        /// <summary>
        /// 出国绑定信息
        /// </summary>
        public virtual RegistrationBind RegistrationBind { get; set; }

        /// <summary>
        /// 当前步骤
        /// </summary>
        public virtual FlowStep CurrentStep { set; get; }

    }
}
